package com.tg.paw.ums.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Rubble
 * @date 2020/6/17
 */
@Data
@ApiModel("修改角色权限")
public class RolePermissionDto {

    @NotNull(message = "角色Id不能为空")
    private Long roleId;

    private List<Long> permissions;

}
